package com.t235.gc.device.service;

import com.t235.gc.devicevo.GarbageReadmeterRecordVo;
import com.t235.gc.entity.GarbageReadmeterRecord;
import com.t235.gc.mapper.GarbageReadmeterRecordMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description :
 * Created by Li on 2021-03-31 08:46:02
 */
@Service
public class GarbageReadmeterRecordService {
    @Autowired
    private GarbageReadmeterRecordMapper garbageReadmeterRecordMapper;

    public List<GarbageReadmeterRecord> getBackGarbageReadmeterRecordList(GarbageReadmeterRecordVo record) {
       return garbageReadmeterRecordMapper.getBackGarbageReadmeterRecordList(record);
    }

    public int updGarbageReadmeterRecord(GarbageReadmeterRecord record) {
        return garbageReadmeterRecordMapper.updateByPrimaryKeySelective(record);
    }
}
